package com.punch.punchtable.service.impl;

import com.punch.punchtable.mapper.LogLoginMapper;
import com.punch.punchtable.entity.LogLogin;
import com.punch.punchtable.service.LogLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 朱宗辉
 * @version V1.0
 * @Package com.punch.punchtable.service.impl
 * @date 2021/7/16 2:14
 */
@Service
public class LogLoginServiceImpl implements LogLoginService {
    @Autowired
    private LogLoginMapper logLoginMapper;

    @Override
    public LogLogin login(LogLogin logLogin) {
        LogLogin logLogin1 = logLoginMapper.selectByUsernumAndPswd(logLogin);
        return logLogin1;
    }
}
